Skip to content

docs(merge-strategy): merge-queue arming with bare --auto + batch review fixes#105

Merged
CybotTM merged 2 commits into
mainfrom
docs/merge-queue-auto-and-batch-fixes
Jul 5, 2026
Merged

docs(merge-strategy): merge-queue arming with bare --auto + batch review fixes#105
CybotTM merged 2 commits into
mainfrom
docs/merge-queue-auto-and-batch-fixes

Conversation

@CybotTM

@CybotTM CybotTM commented Jul 5, 2026

Copy link
Copy Markdown
Member

Adds two merge-queue mechanics to references/merge-strategy.md (existing merge-queue section).

  • Arm with bare --auto: the queue owns the merge method, so gh pr merge --merge --auto is rejected (The merge strategy for main is set by the merge queue). Use a bare --auto; keep explicit strategy only for --admin bypass merges.
  • Batch review fixes: each push to the PR head re-runs the full required matrix (~8min+), so collect ALL review fixes into one commit/push instead of nitpick-by-nitpick.

Source: driving t3x-nr-llm PRs #307/#308/#309 through the merge queue.

…iew fixes

Two merge-queue mechanics learned in practice:
- The queue owns the merge method, so 'gh pr merge --merge --auto' is rejected
  ('merge strategy for main is set by the merge queue'). Arm with a bare
  '--auto'; keep explicit strategy only for --admin bypass merges.
- Each push to the PR head re-runs the full required matrix (~8min+), so
  batch ALL review fixes into one commit/push instead of nitpick-by-nitpick.

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
Copilot AI review requested due to automatic review settings July 5, 2026 11:18

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds documentation on how to arm a merge-queue PR using the GitHub CLI without explicit strategy flags, and introduces a best practice of batching review-fix commits to save CI cycles. The review feedback focuses on improving technical accuracy—specifically clarifying that explicit strategies with --auto trigger a warning rather than rejection, distinguishing between PR CI and queue CI, and refining phrasing for consistency.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread skills/github-project/references/merge-strategy.md Outdated
Comment thread skills/github-project/references/merge-strategy.md Outdated
Comment thread skills/github-project/references/merge-strategy.md Outdated
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions Bot added documentation Improvements or additions to documentation skill labels Jul 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the merge-queue guidance in merge-strategy.md to reflect practical gh pr merge behavior on merge-queue-enabled repositories and to reduce CI churn during review iterations.

Changes:

  • Document using a bare gh pr merge --auto (without --merge/--squash/--rebase) to arm auto-merge when the merge queue controls the merge method.
  • Add workflow guidance to batch review fixes into a single commit/push to avoid repeatedly re-running the full merge-queue CI matrix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread skills/github-project/references/merge-strategy.md Outdated
Comment thread skills/github-project/references/merge-strategy.md Outdated
Comment thread skills/github-project/references/merge-strategy.md Outdated
- Explicit strategy with --auto warns but still enqueues (not 'rejected').
- Clarify each push re-runs the full PR CI (queue CI runs on the merge group).
- Align headings to 'merge queue', label the gh output line, 'reply to and
  resolve' phrasing.

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
@sonarqubecloud

sonarqubecloud Bot commented Jul 5, 2026

Copy link
Copy Markdown

@CybotTM CybotTM merged commit bdf64b9 into main Jul 5, 2026
18 checks passed
@CybotTM CybotTM deleted the docs/merge-queue-auto-and-batch-fixes branch July 5, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants